import { Outlet } from 'react-router-dom'
import useRedirect from "@/hooks/useRedirect.ts";
const Dashboard = () => {
    useRedirect('/dashboard', '/dashboard/workplace')
    return (
        <Outlet />
    )
}

export default Dashboard